﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Message.SMS.SGIP.Commands
{
    /// <summary>
    /// Unbind操作由Unbind命令和Unbind_Resp应答组成。通信连接建立以后，客户端如果要停止通信，需要发送Unbind命令；服务器端收到Unbind命令后，向客户端发送Unbind_Resp相应，然后双方断开连接。
    /// </summary>
    public class UnbindRespCommand : RespCommand
    {
        public override uint BodyLength
        {
            get { return 0; }
        }

        public override SGIPCommandType CommandType
        {
            get { return SGIPCommandType.Unbind_Resp; }
        }

        public UnbindRespCommand()
        {
        }

        public UnbindRespCommand(byte[] bytes)
            : base(bytes)
        {
        }

        public UnbindRespCommand(byte[] bytes, int startIndex)
            : base(bytes, startIndex)
        {
        }

        public UnbindRespCommand(CommandSequence sequence)
            : base(sequence)
        {
        }
    }
}
